package cn.itrip.common;


import com.mysql.jdbc.StringUtils;
import org.springframework.beans.factory.annotation.Value;


import org.springframework.context.annotation.Configuration;

@Configuration
public class SystemConfig {

    // 抽数据URL
    public static String URL;
    /**
     * 数据库名称
     */

    /*// 抽数据URL
    public static String URL;
    *//**
     * 数据库名称
     *//*

    public static String STATIC_SEVER_PATH;
    public static String STATIC_SEVER_DOMAIN;
    public static String CONFIG_JSON_PATH;
    @Value("${systemconfig.static_server_path}")
    public void setStaticServerPath(String staticServerPath) {
        SystemConfig.STATIC_SEVER_PATH = staticServerPath;
    }

    @Value("${systemconfig.config_json_path}")
    public void setConfigJsonPath(String configJsonPath) { SystemConfig.CONFIG_JSON_PATH = configJsonPath;
    }

    @Value("${systemconfig.static_server_domain}")
    public void setStaticSeverDomain(String staticServerDomain) { SystemConfig.STATIC_SEVER_DOMAIN = staticServerDomain;
    }


    /**
     * 转换静态资源路径
     * @param path
     * @return
     */


}
